package com.koron.order.common.mapper;

import com.koron.order.common.bean.po.OrderSignBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (OrderSign)表数据库访问层
 *
 * @author zhouj
 * @since 2021-09-16 14:54:20
 */
public interface OrderSignMapper {

    OrderSignBean queryById(String id);

    List<OrderSignBean> queryList(OrderSignBean orderSign);

    int insert(OrderSignBean orderSign);

    int update(OrderSignBean orderSign);

    int deleteById(String id);

    int insertBatch(@Param("list") List<OrderSignBean> orderSignBeanList);

    int deleteByItemId(String itemId);

    int deleteByItemIds(@Param("list") List<String> itemIds);

    int deleteByOrderId(String orderId);
}